#ifndef _LOCALISE_H_
#define _LOCALISE_H_

extern bool bLanguageActive;
extern wchar_t szLanguage[MAX_PATH];
extern HMODULE hLanguage;

HMODULE localiseInstance();

void localiseExit();
int localiseInit(wchar_t* lanaugae);
int localiseLoad();

HBITMAP localiseLoadBitmap(int id);
HMENU localiseLoadMenu(int id);
INT_PTR localiseDialogBox(int id, HWND parent, DLGPROC lpDialogFunc);
HWND localiseCreateDialog(int id, HWND parent, DLGPROC lpDialogFunc);
int localiseString(UINT id, LPTSTR buffer, int maxsize);
wchar_t* localiseStringEx(UINT id, bool translate = true);

#endif // _LOCALISE_H_